x86 shadow: Reduce scope of shadow lock.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 14 Feb 2008 10:33:12 +0000 (10:33 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 14 Feb 2008 10:33:12 +0000 (10:33 +0000)
commit2895a506ab24f8db83e6fbf96809d6b1162ec67e
tree4c6063d5a5fc86ad110e8b7662d80039817c971c
parentc3a4bb3762c8a24d0ef137b755b038f207888f70
x86 shadow: Reduce scope of shadow lock.

emulate_map_dest doesn't require holding lock, since
only shadow related operation possibly involved is to
remove shadow which is less frequent and can acquire
lock inside. Rest are either guest table walk or
per-vcpu monitor table manipulation

Signed-off-by Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/mm/shadow/multi.c